LockMethod Constructor (LockScope, String, String, String, String) |
Initializes a new instance of the LockMethod class.
Namespace:
Independentsoft.Webdav.Methods
Assembly:
Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntaxpublic LockMethod(
LockScope scope,
string depth,
string timeout,
string owner,
string type
)
Public Sub New (
scope As LockScope,
depth As String,
timeout As String,
owner As String,
type As String
)
Parameters
- scope
- Type: Independentsoft.WebdavLockScope
The scope of the lock, exclusive or shared - depth
- Type: SystemString
The depth of the lock. Allowed values are: Depth.Zero means only this resource is locked, Depth.Infinity means this resource and recursively all its subresources are locked. - timeout
- Type: SystemString
The lock timeout as either Second-n (where "n" is number between 0 and 4294967295) or "Infinite". - owner
- Type: SystemString
Contains useful information that can be used to identify the owner of the lock (ie. link to a home page, an e-mail address, phone number, etc.) - type
- Type: SystemString
The type of the lock. The only legal DAV value currently is "write".
See Also